home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / Newswatcher 2.0b22 / NW Source / Source / memutil.h < prev    next >
Encoding:
Text File  |  1994-07-30  |  1.1 KB  |  27 lines  |  [TEXT/MMCC]

  1. Boolean MemoryAvailable (Size len);
  2. OSErr MyNewHandle (Size len, void *handle);
  3. OSErr MyNewHandleCritical (Size len, void *handle);
  4. void MyDisposeHandle (void *handle);
  5. OSErr MyNewPtr (Size len, void *ptr);
  6. OSErr MyNewPtrCritical (Size len, void *ptr);
  7. void MyDisposePtr (void *ptr);
  8. OSErr MySetHandleSize (void *handle, Size len);
  9. OSErr MySetHandleSizeCritical (void *handle, Size len);
  10. long MyGetHandleSize (void *handle);
  11. OSErr MyHandToHand (void *theHndl);
  12. OSErr MyHandAndHand (void *srcHandle, void *destHandle);
  13. OSErr MyPtrAndHand (void *srcPtr, void *destHandle, Size len);
  14. OSErr MyPtrToHand (void *srcPtr, void *destHandle, Size len);
  15. OSErr MyPtrToXHand (void *srcPtr, void *destHandle, Size len);
  16. void MyHLock (void *handle);
  17. void MyHLockHi (void *handle);
  18. void MyHUnlock (void *handle);
  19. Boolean RecoverReserveMemory (void);
  20. char MyHGetState (void *handle);
  21. void MyHSetState (void *handle, char state);
  22. void BeginCriticalMemorySequence (Boolean *savedCriticalSeq);
  23. void EndCriticalMemorySequence (Boolean savedCriticalSeq);
  24. Boolean HaveModernTempMemory (void);
  25. OSErr MyTempNewHandle (Size len, void *handle);
  26. OSErr InitMemUtil (Size cushion, Size reserve);
  27.